package com.boss.service.impl;

import com.boss.entity.BossExamine;
import com.boss.mapper.BossExamineMapper;
import com.boss.service.BossExamineService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BossExamineServiceImpl implements BossExamineService {
    @Autowired
    private BossExamineMapper bossExamineMapper;
    @Override
    public List<BossExamine> getBossExamine() {
        return bossExamineMapper.getBossExamine();
    }

    @Override
    public boolean updBossExamine(BossExamine bossExamine) {
        if (bossExamineMapper.updBossExamine(bossExamine)==1){
            return true;
        }
        return false;
    }

    @Override
    public boolean bossAuditFailure(BossExamine bossExamine) {
        if (bossExamineMapper.bossAuditFailure(bossExamine)==1){
            return true;
        }
        return false;
    }
}
